<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %> 
<html>
<head>
	<title>数据字典</title>
	<%@include file="/WEB-INF/views/commons/commons.jsp"%>
	<script src="/static/js/system/dictionary.js"></script>
</head>
<body>

<div id="cc" class="easyui-layout" fit="true">
	<div data-options="region:'west',title:'数据类型',split:true" style="width:600px;">

		<table id="dictionary_datagrid"></table>
	</div>
	<div data-options="region:'center',title:'数据类型明细'" style="padding:5px;background:#eee;">
		<table id="dictionarydetail_datagrid" class="easyui-datagrid">
		</table>
	</div>
</div>


<div id="dictionary_toolbar">
	<div>
	
	<a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
	<a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
	<a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="remove">删除</a>
	<a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
	</div>
</div>

<div id="dictionarydetail_toolbar">
	<div>

		<a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="addtail">新增</a>
		<a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edittail">编辑</a>
		<a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="removetail">删除</a>
		<a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadtail">刷新</a>
	</div>
</div>

<div id = "bb">
	<a  class="easyui-linkbutton"  data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
	<a  class="easyui-linkbutton"  data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>

<div id = "detailform_btn">
	<a  class="easyui-linkbutton"  data-options="iconCls:'icon-save',plain:true" data-cmd="savetail">保存</a>
	<a  class="easyui-linkbutton"  data-options="iconCls:'icon-cancel',plain:true" data-cmd="canceltail">取消</a>
</div>




<!-- 对话框按钮 -->
<div id="dictionary_dialog">
        <form  id="dictionary_form"  method="post" action="">
        <input type="hidden" name="id" id="dictionaryId"/>
				<table  align="center" style="margin-top: 30px; border-collapse: separate; border-spacing: 0px 10px;" >
					<tr>
							<th>数据类型编号:</th>
							<th><input class="easyui-textbox" name="sn" prompt="请输入数据类型编号"/></th>
					</tr>
					<tr>
							<th>数据类型名称:</th>
							<th><input class="easyui-textbox"  name="name" prompt="请输入数据类型名称"/></th>
					</tr>
					<tr>
							<th>数据类型简介:</th>
							<th><input class="easyui-textbox"  name="info" prompt="请输入数据类型简介"/></th>
					</tr>
					
					
				</table>        
        </form>
</div>

<!-- 对话框按钮 -->
<div id="dictionarydetail_dialog">
	<form  id="dictionarydetail_form"  method="post" action="">
		<input type="hidden" name="id" id="dictionarydetailId"/>
		<table  align="center" style="margin-top: 30px; border-collapse: separate; border-spacing: 0px 10px;" >
			<tr>
				<th>数据类型</th>
				<th><input class="easyui-combobox" name="dictionaryId" id="dectionaryId"
						   data-options="valueField:'id',textField:'name',url:'dictionary/list'"></th>
			</tr>
			<tr>
				<th>明细名称:</th>
				<th><input class="easyui-textbox"  name="name" prompt="请输入数据类型名称"/></th>
			</tr>
			<tr>
				<th>明细简介:</th>
				<th><input class="easyui-textbox"  name="info" prompt="请输入数据类型简介"/></th>
			</tr>


		</table>
	</form>
</div>
</body>
</html>